/*
------------------------------------
GET_SET_TEST
------------------------------------
author    Katoh Yusuke
date      2012-10-13
------------------------------------
*/


#include <iostream>

template<typename T>
class Value{
	T m_value;
public:
	Value( const T v): m_value(v) { ; }
	~Value(){ ; }
	operator T(){ return m_value; }
	void operator=(const T v){ m_value = v; } 
};



int main(){
	Value<int>	test = 20;
	int		a = test;
	
	std::cout << "Value " << test << std::endl;

	return 0;
}

// EOF
